home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK1.toast / Development Kits (Disc 1) / QuickDraw 3D / Development / Interfaces / QD3DPascalInterfaces / QD3DAcceleration.p < prev    next >
Encoding:
Text File  |  1996-11-15  |  2.2 KB  |  90 lines  |  [TEXT/MPS ]

  1. {
  2.      File:        QD3DAcceleration.p
  3.  
  4.      Contains:    Header file for low-level 3D driver API                            
  5.  
  6.      Version:    Technology:    Quickdraw 3D 1.0.6
  7.                  Release:    Universal Interfaces 2.1.5d1
  8.  
  9.      Copyright:    © 1984-1996 by Apple Computer, Inc.  All rights reserved.
  10.  
  11.      Bugs?:        If you find a problem with this file, send the file and version
  12.                  information (from above) and the problem description to:
  13.  
  14.                      Internet:    apple.bugs@applelink.apple.com
  15.                      AppleLink:    APPLE.BUGS
  16.  
  17. }
  18. {$IFC UNDEFINED UsingIncludes}
  19. {$SETC UsingIncludes := 0}
  20. {$ENDC}
  21.  
  22. {$IFC NOT UsingIncludes}
  23.  UNIT QD3DAcceleration;
  24.  INTERFACE
  25. {$ENDC}
  26.  
  27. {$IFC UNDEFINED __QD3DACCELERATION__}
  28. {$SETC __QD3DACCELERATION__ := 1}
  29.  
  30. {$I+}
  31. {$SETC QD3DAccelerationIncludes := UsingIncludes}
  32. {$SETC UsingIncludes := 1}
  33.  
  34. {$IFC UNDEFINED __QD3D__}
  35. {$I QD3D.p}
  36. {$ENDC}
  37.  
  38. {$PUSH}
  39. {$ALIGN POWER}
  40. {$LibExport+}
  41.  
  42. {
  43. *****************************************************************************
  44.  **                                                                             **
  45.  **                         Vendor ID definitions                             **
  46.  **                                                                             **
  47.  ****************************************************************************
  48. }
  49. {
  50.  * If kQAVendor_BestChoice is used, the system chooses the "best" drawing engine
  51.  * available for the target device. This should be used for the default.
  52. }
  53.  
  54. CONST
  55.     kQAVendor_BestChoice        = -1;
  56.  
  57. {
  58.  * The other definitions (kQAVendor_Apple, etc.) identify specific vendors
  59.  * of drawing engines. When a vendor ID is used in conjunction with a
  60.  * vendor-defined engine ID, a specific drawing engine can be selected.
  61. }
  62.     kQAVendor_Apple                = 0;
  63.     kQAVendor_ATI                = 1;
  64.     kQAVendor_Radius            = 2;
  65.     kQAVendor_Mentor            = 3;
  66.     kQAVendor_Matrox            = 4;
  67.     kQAVendor_Yarc                = 5;
  68.  
  69. {
  70. *****************************************************************************
  71.  **                                                                             **
  72.  **                         Apple's engine ID definitions                         **
  73.  **                                                                             **
  74.  ****************************************************************************
  75. }
  76.     kQAEngine_AppleSW            = 0;                            {  Default software rasterizer }
  77.     kQAEngine_AppleHW            = -1;                            {  Apple accelerator }
  78.     kQAEngine_AppleHW2            = 1;                            {  Another Apple accelerator }
  79.  
  80. {$ALIGN RESET}
  81. {$POP}
  82.  
  83. {$SETC UsingIncludes := QD3DAccelerationIncludes}
  84.  
  85. {$ENDC} {__QD3DACCELERATION__}
  86.  
  87. {$IFC NOT UsingIncludes}
  88.  END.
  89. {$ENDC}
  90.